home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
clang
/
tkern091.zip
/
INCLUDE
/
IO.H
next >
Wrap
Text File
|
1994-03-11
|
1KB
|
34 lines
/*
* This file forms part of "TKERN" - "Troy's Kernel for Windows".
*
* Copyright (C) 1994 Troy Rollo <troy@cbme.unsw.EDU.AU>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __TKIO_H
#define __TKIO_H
int open(char const *pchPath, int nMode, int nAccess);
int close(int fd);
int read(int fd, char *pchBuffer, int nBytes);
int write(int fd, char *pchBuffer, int nBytes);
int dup(int fd);
int dup2(int fd1, int fd2);
long lseek(int fd, long nPosition, int nStart);
int isatty(int fd);
#endif